package com.knowswift.common.bean.issue.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;

@Data
public class SaveMonitorSettingParam {
    @Range(min = -128, max = 126, message = "温度最小值范围在-128~126")
    private Integer temperatureMin;
    @Range(min = -127, max = 127, message = "温度最小值范围在-127~127")
    private Integer temperatureMax;
    private  Integer temperatureInvocation;
    @Range(min = 0, max = 99, message = "湿度最小值范围在0~99")
    private Integer humidityMin;
    @Range(min = 1, max = 100, message = "湿度最大值范围在1~100")
    private Integer humidityMax;
    private  Integer humidityInvocation;
    @Range(min = 0, max = 65534, message = "电流最小值范围在0~65534")
    private Integer electricityMin;
    @Range(min = 1, max = 65535, message = "电流最小值范围在0~65535")
    private Integer electricityMax;
    private  Integer electricityInvocation;
}
